package com.springbootnetty.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;



@Data
@NoArgsConstructor
@ApiModel("webSocket 时时推送对象")
public class WebSocketVo {
    @ApiModelProperty(value = "类型,1上线,2掉线,3更新ai,4更新do,5更新di")
    private int  type;
    @ApiModelProperty(value = "类型,描述")
    private String  typeName;


     public WebSocketVo(int type, String typeName) {
        this.type = type;
        this.typeName = typeName;
    }

}

